feat(ci): add experimental Linux x86_64 build (.deb + .AppImage)#40
Open
Cmochance wants to merge 1 commit into
Open
feat(ci): add experimental Linux x86_64 build (.deb + .AppImage)#40Cmochance wants to merge 1 commit into
Cmochance wants to merge 1 commit into
Conversation
Extend the release pipeline to publish Linux artifacts alongside the existing macOS arm64 and Windows x64 ones. Built on ubuntu-22.04 (glibc 2.35) to keep the baseline broad. UI / switching / quota features work as on the other platforms; Linux-native paths for Codex CLI integration are not separately adapted yet (the non-macOS code branch is reused), so this is shipped as experimental. - src-tauri/tauri.linux.conf.json: enable bundle, deb + appimage targets - package.json: add tauri:build:linux script (mirrors :windows) - .github/workflows/build.yml: add linux-x86_64 matrix entry with apt step gated on runner.os, append artifact glob to release job - README + CHANGELOG: document experimental status and runtime caveat
Owner
Author
用户操作清单Pre-merge 验证(自动跑中)
需要在 Linux 机器上手测的事项我(mac 端)无法本机验证 Linux 产物,请你或 Linux 测试机的用户:
Merge 后
|
Owner
Author
Pre-merge 验证已通过
Linux artifact 已验证(从 dispatch run 下载)文件名与 README 预告的 还需要的人工动作仅剩"在 Linux 机器上手测产物"。CI 已经证明能 build + 打包 + 上传,但没法证明产物在用户机器上跑得起来。pre-merge 想做的话:从上面 dispatch run 的 Artifacts 区下 无 chatgpt-codex-connector review thread。等其晚到时我会按全局规则处理。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.deb与.AppImage,与现有 macOS arm64 / Windows x64 同步随 tag 进 draft releaseubuntu-22.04(glibc 2.35)构建,覆盖 Ubuntu 22.04+ / Debian 12+ 及同基线发行版codex loginspawn 当前复用 Windows runtime 分支(源码里#[cfg(not(target_os = "macos"))]fallback),Linux-native 适配未单独做,欢迎收到 issue 后再迭代变更内容
src-tauri/tauri.linux.conf.json(新)deb+appimagepackage.jsontauri:build:linux脚本(与:windows同 shape).github/workflows/build.ymllinux-x86_64;apt 装 Tauri Linux deps(runner.os == 'Linux'守护,不影响 mac / win 作业);release job 文件列表追加 Linux artifactREADME.md/README.zh-CN.mdCHANGELOG.mdTest plan
PR 作者无法在 macOS 上本机验证 Linux 产物,需要以下手动验证(push 后我会以评论形式汇总):
linux-x86_64构建产生 .deb 和 .AppImage 两个 artifact)<productName>_<version>_<arch>.{deb,AppImage})sudo dpkg -i codex_switch_*.deb安装无报错chmod +x后可直接运行codex login实际行为(已知是 Windows 分支 fallback,本 PR 不修,仅记录现状)